package com.lsp.lib_uikit.commonrecycler.defaultview;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;

/**
 * @author lsp
 * @created 16/10/12 21:08
 */
public abstract class LoadingMoreFooterBase extends RelativeLayout implements LoadMoreHandler {

  //上啦状态
  public static final int PULL_UP_LOAD_IDLE = 0;//初始状态
  public static final int PULL_UP_LOADING = 1;//加载中
  public static final int PULL_UP_COMPLETE = 2;//加载完成
  public static final int PULL_UP_FAIL = 3;//加载失败

  public int getLoadmoreStatus() {
    return loadmoreStatus;
  }

  private int loadmoreStatus = 0;

  public void setLoadmoreStatus(int loadmorestatus) {
    this.loadmoreStatus = loadmorestatus;
  }

  public LoadingMoreFooterBase(Context context) {
    super(context);
  }

  public LoadingMoreFooterBase(Context context, AttributeSet attrs) {
    super(context, attrs);
  }

  public LoadingMoreFooterBase(Context context, AttributeSet attrs, int defStyleAttr) {
    super(context, attrs, defStyleAttr);
  }
}
